//
//  JPCollectionViewCell.h
//  JPWords
//
//  Created by 梁淑婷 on 2024/6/1.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface JPCollectionViewCell : UICollectionViewCell

//获取字符串宽高
-(CGFloat)getStringHeightWithText:(NSString *)text font:(UIFont *)font viewWidth:(CGFloat)width;
-(CGFloat)getStringWidthWithText:(NSString *)text font:(UIFont *)font viewHeight:(CGFloat)height;
@end

NS_ASSUME_NONNULL_END
